package com.yxw.live_vod_backend_boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxw.live_vod_backend_boot.dto.BillingQueryDTO;
import com.yxw.live_vod_backend_boot.entity.YxBillingSetupEntity;
import com.yxw.live_vod_backend_boot.vo.BillingSetupVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 计费设置管理Mapper接口
 *
 * @author xiexuxin
 * @date 2023-11-30
 */
@Repository
public interface BillingSetupMapper extends BaseMapper<YxBillingSetupEntity> {

    /**
     * 获取计费设置列表
     * @param page
     * @param dto
     * @return
     */
    List<BillingSetupVO> getBillingSetupList(Page<BillingSetupVO> page, @Param("dto") BillingQueryDTO dto);

}
